package com.kim.store.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
@Data
@EqualsAndHashCode(callSuper = true)
public class OrderItem extends BaseEntity implements Serializable {
    private Integer id; //订单中的商品记录的id
    private Integer oid; //所归属的订单的id
    private Integer pid; //商品的id
    private String title; //商品标题
    private String image; //商品图片
    private Long price; //商品价格
    private Integer num; //购买数量
}
